home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1997-10-07 | 6.8 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Tue Oct 7 02:59:24 1997, modified Tue Oct 7 02:59:24 1997, creator 'MPS ', type ASCII, 6147 bytes "StdBuffer.h" , at 0x1883 428 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| dearkID
| deark: macbinary
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 53 74 64 42 75 66 | 66 65 72 2e 68 00 00 00 |..StdBuf|fer.h...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 18 03 00 | 00 01 ac b0 5f 8e 4c b0 |........|...._.L.|
|00000060| 5f 8e 4c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |_.L.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 10 7e 00 00 |........|.....~..|
|00000080| 2f 2a 20 46 69 6c 65 20 | 53 74 64 42 75 66 66 65 |/* File |StdBuffe|
|00000090| 72 2e 68 0d 09 46 69 6c | 65 20 62 75 66 66 65 72 |r.h..Fil|e buffer|
|000000a0| 69 6e 67 20 75 74 69 6c | 69 74 69 65 73 2c 20 69 |ing util|ities, i|
|000000b0| 6e 74 65 72 66 61 63 65 | 2e 0d 09 53 79 73 74 65 |nterface|...Syste|
|000000c0| 6d 20 36 20 6f 72 20 62 | 65 74 74 65 72 20 72 65 |m 6 or b|etter re|
|000000d0| 71 75 69 72 65 73 20 48 | 46 53 0d 09 43 6f 70 79 |quires H|FS..Copy|
|000000e0| 72 69 67 68 74 20 28 63 | 29 20 31 39 39 37 20 62 |right (c|) 1997 b|
|000000f0| 79 20 4a 6f 68 6e 20 4d | 6f 6e 74 62 72 69 61 6e |y John M|ontbrian|
|00000100| 64 2e 20 20 41 6c 6c 20 | 52 69 67 68 74 73 20 52 |d. All |Rights R|
|00000110| 65 73 65 72 76 65 64 2e | 0d 09 50 65 72 6d 69 73 |eserved.|..Permis|
|00000120| 73 69 6f 6e 20 67 72 61 | 6e 74 65 64 20 66 6f 72 |sion gra|nted for|
|00000130| 20 70 75 62 6c 69 63 20 | 75 73 65 2e 0d 09 44 69 | public |use...Di|
|00000140| 73 74 72 69 62 75 74 65 | 20 66 72 65 65 6c 79 20 |stribute| freely |
|00000150| 69 6e 20 61 72 65 61 73 | 20 77 68 65 72 65 20 74 |in areas| where t|
|00000160| 68 65 20 6c 61 77 73 20 | 6f 66 20 63 6f 70 79 72 |he laws |of copyr|
|00000170| 69 67 68 74 20 61 70 70 | 6c 79 2e 0d 09 55 53 45 |ight app|ly...USE|
|00000180| 20 41 54 20 59 4f 55 52 | 20 4f 57 4e 20 52 49 53 | AT YOUR| OWN RIS|
|00000190| 4b 2e 0d 09 44 4f 20 4e | 4f 54 20 44 49 53 54 52 |K...DO N|OT DISTR|
|000001a0| 49 42 55 54 45 20 4d 4f | 44 49 46 49 45 44 20 43 |IBUTE MO|DIFIED C|
|000001b0| 4f 50 49 45 53 2e 0d 09 | 43 6f 6d 6d 65 6e 74 73 |OPIES...|Comments|
|000001c0| 2f 71 75 65 73 74 69 6f | 6e 73 2f 70 6f 73 74 63 |/questio|ns/postc|
|000001d0| 61 72 64 73 20 74 6f 20 | 74 68 65 20 61 75 74 68 |ards to |the auth|
|000001e0| 6f 72 20 61 74 20 74 68 | 65 20 61 64 64 72 65 73 |or at th|e addres|
|000001f0| 73 3a 0d 09 09 4a 6f 68 | 6e 20 4d 6f 6e 74 62 72 |s:...Joh|n Montbr|
|00000200| 69 61 6e 64 0d 09 09 50 | 2e 4f 2e 20 42 6f 78 2e |iand...P|.O. Box.|
|00000210| 20 31 31 33 33 0d 09 09 | 53 61 73 6b 61 74 6f 6f | 1133...|Saskatoo|
|00000220| 6e 20 53 61 73 6b 61 74 | 63 68 65 77 61 6e 20 43 |n Saskat|chewan C|
|00000230| 61 6e 61 64 61 0d 09 09 | 53 37 4b 20 33 4e 32 0d |anada...|S7K 3N2.|
|00000240| 09 6f 72 20 62 79 20 65 | 6d 61 69 6c 20 61 74 3a |.or by e|mail at:|
|00000250| 0d 09 09 74 69 6e 79 6a | 6f 68 6e 40 73 6b 2e 73 |...tinyj|ohn@sk.s|
|00000260| 79 6d 70 61 74 69 63 6f | 2e 63 61 0d 09 49 66 20 |ympatico|.ca..If |
|00000270| 79 6f 75 20 77 6f 75 6c | 64 20 6c 69 6b 65 20 74 |you woul|d like t|
|00000280| 6f 20 68 61 76 65 3a 0d | 09 09 74 65 63 68 6e 69 |o have:.|..techni|
|00000290| 63 61 6c 20 73 75 70 70 | 6f 72 74 20 72 65 67 61 |cal supp|ort rega|
|000002a0| 72 64 69 6e 67 20 74 68 | 69 73 20 66 69 6c 65 2c |rding th|is file,|
|000002b0| 20 73 65 6e 64 20 61 20 | 70 6f 73 74 63 61 72 64 | send a |postcard|
|000002c0| 2e 0d 09 73 65 65 20 61 | 6c 73 6f 3a 0d 09 09 68 |...see a|lso:...h|
|000002d0| 74 74 70 3a 2f 2f 77 77 | 77 33 2e 73 6b 2e 73 79 |ttp://ww|w3.sk.sy|
|000002e0| 6d 70 61 74 69 63 6f 2e | 63 61 2f 74 69 6e 79 6a |mpatico.|ca/tinyj|
|000002f0| 6f 68 6e 0d 2a 2f 0d 0d | 23 69 66 6e 64 65 66 20 |ohn.*/..|#ifndef |
|00000300| 5f 5f 53 54 44 42 55 46 | 46 45 52 5f 5f 0d 23 64 |__STDBUF|FER__.#d|
|00000310| 65 66 69 6e 65 20 5f 5f | 53 54 44 42 55 46 46 45 |efine __|STDBUFFE|
|00000320| 52 5f 5f 0d 0d 23 69 6e | 63 6c 75 64 65 20 3c 54 |R__..#in|clude <T|
|00000330| 79 70 65 73 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |ypes.h>.|#include|
|00000340| 20 3c 46 69 6c 65 73 2e | 68 3e 0d 0d 23 64 65 66 | <Files.|h>..#def|
|00000350| 69 6e 65 20 6b 42 75 66 | 66 65 72 4c 65 6e 20 34 |ine kBuf|ferLen 4|
|00000360| 30 39 36 0d 0d 74 79 70 | 65 64 65 66 20 73 74 72 |096..typ|edef str|
|00000370| 75 63 74 20 7b 0d 09 73 | 68 6f 72 74 20 72 65 66 |uct {..s|hort ref|
|00000380| 6e 75 6d 3b 0d 09 73 68 | 6f 72 74 20 75 6e 75 73 |num;..sh|ort unus|
|00000390| 65 64 3b 0d 09 6c 6f 6e | 67 20 66 69 6c 65 70 6f |ed;..lon|g filepo|
|000003a0| 73 2c 20 63 6f 75 6e 74 | 3b 0d 09 75 6e 73 69 67 |s, count|;..unsig|
|000003b0| 6e 65 64 20 63 68 61 72 | 20 64 61 74 61 62 79 74 |ned char| databyt|
|000003c0| 65 73 5b 6b 42 75 66 66 | 65 72 4c 65 6e 5d 3b 0d |es[kBuff|erLen];.|
|000003d0| 7d 20 4f 75 74 70 75 74 | 42 75 66 66 65 72 2c 20 |} Output|Buffer, |
|000003e0| 2a 4f 75 74 42 75 66 50 | 74 72 3b 0d 0d 74 79 70 |*OutBufP|tr;..typ|
|000003f0| 65 64 65 66 20 73 74 72 | 75 63 74 20 7b 0d 09 73 |edef str|uct {..s|
|00000400| 68 6f 72 74 20 72 65 66 | 6e 75 6d 3b 0d 09 73 68 |hort ref|num;..sh|
|00000410| 6f 72 74 20 75 6e 75 73 | 65 64 3b 0d 09 6c 6f 6e |ort unus|ed;..lon|
|00000420| 67 20 66 69 6c 65 70 6f | 73 2c 20 63 6f 75 6e 74 |g filepo|s, count|
|00000430| 2c 20 74 6f 74 61 6c 3b | 0d 09 75 6e 73 69 67 6e |, total;|..unsign|
|00000440| 65 64 20 63 68 61 72 20 | 64 61 74 61 62 79 74 65 |ed char |databyte|
|00000450| 73 5b 6b 42 75 66 66 65 | 72 4c 65 6e 5d 3b 0d 7d |s[kBuffe|rLen];.}|
|00000460| 20 49 6e 70 75 74 42 75 | 66 66 65 72 2c 20 2a 49 | InputBu|ffer, *I|
|00000470| 6e 42 75 66 50 74 72 3b | 0d 0d 0d 2f 2a 20 4e 65 |nBufPtr;|.../* Ne|
|00000480| 77 4f 75 74 70 75 74 42 | 75 66 66 65 72 20 73 65 |wOutputB|uffer se|
|00000490| 74 73 20 75 70 20 61 20 | 6e 65 77 20 6f 75 74 70 |ts up a |new outp|
|000004a0| 75 74 20 62 75 66 66 65 | 72 20 66 6f 72 20 77 72 |ut buffe|r for wr|
|000004b0| 69 74 69 6e 67 20 74 6f | 20 61 20 66 69 6c 65 0d |iting to| a file.|
|000004c0| 09 73 74 61 72 74 69 6e | 67 20 61 74 20 70 6f 73 |.startin|g at pos|
|000004d0| 69 74 69 6f 6e 20 7a 65 | 72 6f 2e 20 20 4e 65 77 |ition ze|ro. New|
|000004e0| 4f 75 74 70 75 74 42 75 | 66 66 65 72 20 63 61 6c |OutputBu|ffer cal|
|000004f0| 6c 73 20 49 6e 69 74 4f | 75 74 70 75 74 42 75 66 |ls InitO|utputBuf|
|00000500| 66 65 72 2e 20 2a 2f 0d | 4f 53 45 72 72 20 4e 65 |fer. */.|OSErr Ne|
|00000510| 77 4f 75 74 70 75 74 42 | 75 66 66 65 72 28 73 68 |wOutputB|uffer(sh|
|00000520| 6f 72 74 20 72 65 66 6e | 75 6d 2c 20 4f 75 74 42 |ort refn|um, OutB|
|00000530| 75 66 50 74 72 20 2a 6f | 75 74 62 75 66 29 3b 0d |ufPtr *o|utbuf);.|
|00000540| 0d 2f 2a 20 4f 70 65 6e | 4f 75 74 70 75 74 42 75 |./* Open|OutputBu|
|00000550| 66 66 65 72 20 6f 70 65 | 6e 73 20 74 68 65 20 66 |ffer ope|ns the f|
|00000560| 69 6c 65 20 72 65 66 65 | 72 65 64 20 74 6f 20 62 |ile refe|red to b|
|00000570| 79 20 74 68 65 20 66 69 | 6c 65 20 73 70 65 63 69 |y the fi|le speci|
|00000580| 66 69 63 61 74 69 6f 6e | 0d 09 72 65 63 6f 72 64 |fication|..record|
|00000590| 20 61 6e 64 20 74 68 65 | 6e 20 63 61 6c 6c 73 20 | and the|n calls |
|000005a0| 4e 65 77 4f 75 74 70 75 | 74 42 75 66 66 65 72 2e |NewOutpu|tBuffer.|
|000005b0| 20 2a 2f 20 0d 4f 53 45 | 72 72 20 4f 70 65 6e 4f | */ .OSE|rr OpenO|
|000005c0| 75 74 70 75 74 42 75 66 | 66 65 72 28 46 53 53 70 |utputBuf|fer(FSSp|
|000005d0| 65 63 20 2a 73 70 65 63 | 2c 20 4f 75 74 42 75 66 |ec *spec|, OutBuf|
|000005e0| 50 74 72 20 2a 6f 75 74 | 62 75 66 29 3b 0d 0d 2f |Ptr *out|buf);../|
|000005f0| 2a 20 43 6c 6f 73 65 4f | 75 74 70 75 74 42 75 66 |* CloseO|utputBuf|
|00000600| 66 65 72 20 63 6c 6f 73 | 65 73 20 74 68 65 20 66 |fer clos|es the f|
|00000610| 69 6c 65 20 61 73 73 6f | 63 69 61 74 65 64 20 77 |ile asso|ciated w|
|00000620| 69 74 68 20 74 68 65 20 | 69 6e 70 75 74 20 62 75 |ith the |input bu|
|00000630| 66 66 65 72 20 61 6e 64 | 20 74 68 65 6e 0d 09 63 |ffer and| then..c|
|00000640| 61 6c 6c 73 20 44 69 73 | 70 6f 73 65 49 6e 70 75 |alls Dis|poseInpu|
|00000650| 74 42 75 66 66 65 72 2e | 20 20 20 59 6f 75 20 73 |tBuffer.| You s|
|00000660| 68 6f 75 6c 64 20 63 61 | 6c 6c 20 46 6c 75 73 68 |hould ca|ll Flush|
|00000670| 4f 75 74 70 75 74 42 75 | 66 66 65 72 0d 09 62 65 |OutputBu|ffer..be|
|00000680| 66 6f 72 65 20 63 61 6c | 6c 69 6e 67 20 44 69 73 |fore cal|ling Dis|
|00000690| 70 6f 73 65 4f 75 74 70 | 75 74 42 75 66 66 65 72 |poseOutp|utBuffer|
|000006a0| 20 6f 72 20 43 6c 6f 73 | 65 4f 75 74 70 75 74 42 | or Clos|eOutputB|
|000006b0| 75 66 66 65 72 20 74 6f | 20 65 6e 73 75 72 65 20 |uffer to| ensure |
|000006c0| 0d 09 72 65 6d 61 69 6e | 69 6e 67 20 62 79 74 65 |..remain|ing byte|
|000006d0| 73 20 69 6e 20 74 68 65 | 20 62 75 66 66 65 72 20 |s in the| buffer |
|000006e0| 61 72 65 20 73 61 76 65 | 64 20 74 6f 20 64 69 73 |are save|d to dis|
|000006f0| 6b 2e 20 2a 2f 0d 76 6f | 69 64 20 43 6c 6f 73 65 |k. */.vo|id Close|
|00000700| 4f 75 74 70 75 74 42 75 | 66 66 65 72 28 4f 75 74 |OutputBu|ffer(Out|
|00000710| 42 75 66 50 74 72 20 6f | 75 74 62 75 66 29 3b 0d |BufPtr o|utbuf);.|
|00000720| 0d 2f 2a 20 49 6e 69 74 | 4f 75 74 70 75 74 42 75 |./* Init|OutputBu|
|00000730| 66 66 65 72 20 73 65 74 | 73 20 75 70 20 61 20 74 |ffer set|s up a t|
|00000740| 68 65 20 66 69 65 6c 64 | 73 20 69 6e 20 74 68 65 |he field|s in the|
|00000750| 20 6f 75 74 70 75 74 20 | 62 75 66 66 65 72 20 72 | output |buffer r|
|00000760| 65 63 6f 72 64 20 66 6f | 72 20 77 72 69 74 69 6e |ecord fo|r writin|
|00000770| 67 0d 09 74 6f 20 61 20 | 66 69 6c 65 20 66 72 6f |g..to a |file fro|
|00000780| 6d 20 70 6f 73 69 74 69 | 6f 6e 20 7a 65 72 6f 2e |m positi|on zero.|
|00000790| 20 20 79 6f 75 20 63 61 | 6e 20 63 61 6c 6c 20 74 | you ca|n call t|
|000007a0| 68 69 73 20 72 6f 75 74 | 69 6e 65 20 74 6f 20 69 |his rout|ine to i|
|000007b0| 6e 69 74 69 61 6c 69 7a | 65 20 61 20 6f 75 74 70 |nitializ|e a outp|
|000007c0| 75 74 0d 09 62 75 66 66 | 65 72 20 72 65 63 6f 72 |ut..buff|er recor|
|000007d0| 64 20 69 66 20 79 6f 75 | 20 68 61 76 65 20 61 6c |d if you| have al|
|000007e0| 6c 6f 63 61 74 65 64 20 | 74 68 65 20 73 74 6f 72 |located |the stor|
|000007f0| 61 67 65 20 79 6f 75 72 | 73 65 6c 66 2e 20 2a 2f |age your|self. */|
|00000800| 0d 4f 53 45 72 72 20 49 | 6e 69 74 4f 75 74 70 75 |.OSErr I|nitOutpu|
|00000810| 74 42 75 66 66 65 72 28 | 73 68 6f 72 74 20 72 65 |tBuffer(|short re|
|00000820| 66 6e 75 6d 2c 20 4f 75 | 74 42 75 66 50 74 72 20 |fnum, Ou|tBufPtr |
|00000830| 6f 62 70 29 3b 0d 0d 2f | 2a 20 46 6c 75 73 68 4f |obp);../|* FlushO|
|00000840| 75 74 70 75 74 42 75 66 | 66 65 72 20 77 72 69 74 |utputBuf|fer writ|
|00000850| 65 73 20 61 6c 6c 20 72 | 65 6d 61 69 6e 69 6e 67 |es all r|emaining|
|00000860| 20 62 79 74 65 73 20 69 | 6e 20 74 68 65 20 62 75 | bytes i|n the bu|
|00000870| 66 66 65 72 20 74 6f 20 | 74 68 65 0d 09 66 69 6c |ffer to |the..fil|
|00000880| 65 2e 20 20 54 68 69 73 | 20 72 6f 75 74 69 6e 65 |e. This| routine|
|00000890| 20 69 73 20 63 61 6c 6c | 65 64 20 61 75 74 6f 6d | is call|ed autom|
|000008a0| 61 74 69 63 61 6c 6c 79 | 20 62 79 20 44 69 73 70 |atically| by Disp|
|000008b0| 6f 73 65 4f 75 74 70 75 | 74 42 75 66 66 65 72 2c |oseOutpu|tBuffer,|
|000008c0| 0d 09 53 74 61 73 68 4f | 75 74 70 75 74 42 75 66 |..StashO|utputBuf|
|000008d0| 66 65 72 2c 20 61 6e 64 | 20 54 72 61 6e 73 66 65 |fer, and| Transfe|
|000008e0| 72 42 79 74 65 73 20 77 | 68 65 6e 65 76 65 72 20 |rBytes w|henever |
|000008f0| 74 68 65 20 62 75 66 66 | 65 72 20 62 65 63 6f 6d |the buff|er becom|
|00000900| 65 73 0d 09 66 75 6c 6c | 20 61 6e 64 20 6d 6f 72 |es..full| and mor|
|00000910| 65 20 73 70 61 63 65 20 | 69 73 20 6e 65 65 64 65 |e space |is neede|
|00000920| 64 20 74 6f 20 73 74 6f | 72 65 20 62 79 74 65 73 |d to sto|re bytes|
|00000930| 20 69 6e 20 74 68 65 20 | 62 75 66 66 65 72 2e 20 | in the |buffer. |
|00000940| 20 59 6f 75 20 63 61 6e | 20 63 61 6c 6c 0d 09 69 | You can| call..i|
|00000950| 74 20 79 6f 75 72 73 65 | 6c 66 20 61 74 20 61 6e |t yourse|lf at an|
|00000960| 79 20 74 69 6d 65 2c 20 | 69 66 20 74 68 65 20 62 |y time, |if the b|
|00000970| 75 66 66 65 72 20 69 73 | 20 65 6d 70 74 79 2c 20 |uffer is| empty, |
|00000980| 69 74 20 64 6f 65 73 20 | 6e 6f 74 68 69 6e 67 2e |it does |nothing.|
|00000990| 20 2a 2f 0d 4f 53 45 72 | 72 20 46 6c 75 73 68 4f | */.OSEr|r FlushO|
|000009a0| 75 74 70 75 74 42 75 66 | 66 65 72 28 4f 75 74 42 |utputBuf|fer(OutB|
|000009b0| 75 66 50 74 72 20 6f 75 | 74 62 75 66 29 3b 0d 0d |ufPtr ou|tbuf);..|
|000009c0| 2f 2a 20 44 69 73 70 6f | 73 65 4f 75 74 70 75 74 |/* Dispo|seOutput|
|000009d0| 42 75 66 66 65 72 20 63 | 61 6c 6c 73 20 44 69 73 |Buffer c|alls Dis|
|000009e0| 70 6f 73 65 50 74 72 2e | 20 20 59 6f 75 20 73 68 |posePtr.| You sh|
|000009f0| 6f 75 6c 64 20 63 61 6c | 6c 20 46 6c 75 73 68 4f |ould cal|l FlushO|
|00000a00| 75 74 70 75 74 42 75 66 | 66 65 72 0d 09 62 65 66 |utputBuf|fer..bef|
|00000a10| 6f 72 65 20 63 61 6c 6c | 69 6e 67 20 44 69 73 70 |ore call|ing Disp|
|00000a20| 6f 73 65 4f 75 74 70 75 | 74 42 75 66 66 65 72 20 |oseOutpu|tBuffer |
|00000a30| 6f 72 20 43 6c 6f 73 65 | 4f 75 74 70 75 74 42 75 |or Close|OutputBu|
|00000a40| 66 66 65 72 20 74 6f 20 | 65 6e 73 75 72 65 20 0d |ffer to |ensure .|
|00000a50| 09 72 65 6d 61 69 6e 69 | 6e 67 20 62 79 74 65 73 |.remaini|ng bytes|
|00000a60| 20 69 6e 20 74 68 65 20 | 62 75 66 66 65 72 20 61 | in the |buffer a|
|00000a70| 72 65 20 73 61 76 65 64 | 20 74 6f 20 64 69 73 6b |re saved| to disk|
|00000a80| 2e 20 2a 2f 0d 76 6f 69 | 64 20 44 69 73 70 6f 73 |. */.voi|d Dispos|
|00000a90| 65 4f 75 74 70 75 74 42 | 75 66 66 65 72 28 4f 75 |eOutputB|uffer(Ou|
|00000aa0| 74 42 75 66 50 74 72 20 | 6f 75 74 62 75 66 29 3b |tBufPtr |outbuf);|
|00000ab0| 0d 0d 2f 2a 20 53 74 61 | 73 68 4f 75 74 70 75 74 |../* Sta|shOutput|
|00000ac0| 42 75 66 66 65 72 20 73 | 74 6f 72 65 73 20 63 6f |Buffer s|tores co|
|00000ad0| 75 6e 74 20 62 79 74 65 | 73 20 70 6f 69 6e 74 65 |unt byte|s pointe|
|00000ae0| 64 20 74 6f 20 62 79 20 | 62 75 66 66 65 72 20 69 |d to by |buffer i|
|00000af0| 6e 74 6f 20 74 68 65 0d | 09 6f 75 74 70 75 74 20 |nto the.|.output |
|00000b00| 62 75 66 66 65 72 20 63 | 61 6c 6c 69 6e 67 20 46 |buffer c|alling F|
|00000b10| 6c 75 73 68 4f 75 74 70 | 75 74 42 75 66 66 65 72 |lushOutp|utBuffer|
|00000b20| 20 61 73 20 6e 65 65 64 | 65 64 2e 20 2a 2f 0d 4f | as need|ed. */.O|
|00000b30| 53 45 72 72 20 53 74 61 | 73 68 4f 75 74 70 75 74 |SErr Sta|shOutput|
|00000b40| 42 75 66 66 65 72 28 4f | 75 74 42 75 66 50 74 72 |Buffer(O|utBufPtr|
|00000b50| 20 6f 75 74 62 75 66 2c | 20 76 6f 69 64 2a 20 62 | outbuf,| void* b|
|00000b60| 75 66 66 65 72 2c 20 6c | 6f 6e 67 20 63 6f 75 6e |uffer, l|ong coun|
|00000b70| 74 29 3b 0d 0d 2f 2a 20 | 4f 75 74 70 75 74 42 75 |t);../* |OutputBu|
|00000b80| 66 66 65 72 50 6f 73 20 | 72 65 74 75 72 6e 73 20 |fferPos |returns |
|00000b90| 74 68 65 20 63 75 72 72 | 65 6e 74 20 66 69 6c 65 |the curr|ent file|
|00000ba0| 20 70 6f 73 69 74 69 6f | 6e 20 66 6f 72 20 74 68 | positio|n for th|
|00000bb0| 65 20 6f 75 74 70 75 74 | 20 62 75 66 66 65 72 20 |e output| buffer |
|00000bc0| 2a 2f 0d 6c 6f 6e 67 20 | 4f 75 74 70 75 74 42 75 |*/.long |OutputBu|
|00000bd0| 66 66 65 72 50 6f 73 28 | 4f 75 74 42 75 66 50 74 |fferPos(|OutBufPt|
|00000be0| 72 20 6f 75 74 62 75 66 | 29 3b 0d 0d 0d 2f 2a 20 |r outbuf|);.../* |
|00000bf0| 4e 65 77 49 6e 70 75 74 | 42 75 66 66 65 72 20 61 |NewInput|Buffer a|
|00000c00| 6c 6c 6f 63 61 74 65 73 | 20 61 20 6e 65 77 20 69 |llocates| a new i|
|00000c10| 6e 70 75 74 20 62 75 66 | 66 65 72 20 61 6e 64 20 |nput buf|fer and |
|00000c20| 73 65 74 73 20 69 74 20 | 75 70 20 66 6f 72 20 72 |sets it |up for r|
|00000c30| 65 61 64 69 6e 67 0d 09 | 66 72 6f 6d 20 74 68 65 |eading..|from the|
|00000c40| 20 63 75 72 72 65 6e 74 | 20 66 69 6c 65 20 70 6f | current| file po|
|00000c50| 73 69 74 69 6f 6e 2e 20 | 6e 6f 20 62 79 74 65 73 |sition. |no bytes|
|00000c60| 20 61 72 65 20 61 63 74 | 75 61 6c 6c 79 20 72 65 | are act|ually re|
|00000c70| 61 64 20 75 6e 74 69 6c | 20 74 68 65 20 66 69 72 |ad until| the fir|
|00000c80| 73 74 0d 09 63 61 6c 6c | 20 74 6f 20 46 65 74 63 |st..call| to Fetc|
|00000c90| 68 49 6e 70 75 74 42 75 | 66 66 65 72 2e 20 20 59 |hInputBu|ffer. Y|
|00000ca0| 6f 75 20 73 68 6f 75 6c | 64 20 6f 6e 6c 79 20 61 |ou shoul|d only a|
|00000cb0| 63 63 65 73 73 20 74 68 | 65 20 66 69 6c 65 20 74 |ccess th|e file t|
|00000cc0| 68 72 6f 75 67 68 20 74 | 68 65 0d 09 46 65 74 63 |hrough t|he..Fetc|
|00000cd0| 68 49 6e 70 75 74 42 75 | 66 66 65 72 20 61 6e 64 |hInputBu|ffer and|
|00000ce0| 20 53 65 74 49 6e 70 75 | 74 42 75 66 66 65 72 50 | SetInpu|tBufferP|
|00000cf0| 6f 73 20 75 6e 74 69 6c | 20 44 69 73 70 6f 73 65 |os until| Dispose|
|00000d00| 49 6e 70 75 74 42 75 66 | 66 65 72 0d 09 69 73 20 |InputBuf|fer..is |
|00000d10| 63 61 6c 6c 65 64 2e 20 | 4e 65 77 49 6e 70 75 74 |called. |NewInput|
|00000d20| 42 75 66 66 65 72 20 63 | 61 6c 6c 73 20 4e 65 74 |Buffer c|alls Net|
|00000d30| 50 74 72 20 61 6e 64 20 | 74 68 65 6e 20 69 74 20 |Ptr and |then it |
|00000d40| 63 61 6c 6c 73 20 49 6e | 69 74 49 6e 70 75 74 42 |calls In|itInputB|
|00000d50| 75 66 66 65 72 2e 20 2a | 2f 0d 4f 53 45 72 72 20 |uffer. *|/.OSErr |
|00000d60| 4e 65 77 49 6e 70 75 74 | 42 75 66 66 65 72 28 73 |NewInput|Buffer(s|
|00000d70| 68 6f 72 74 20 72 65 66 | 6e 75 6d 2c 20 49 6e 42 |hort ref|num, InB|
|00000d80| 75 66 50 74 72 20 2a 69 | 6e 62 75 66 29 3b 0d 0d |ufPtr *i|nbuf);..|
|00000d90| 2f 2a 20 4f 70 65 6e 49 | 6e 70 75 74 42 75 66 66 |/* OpenI|nputBuff|
|00000da0| 65 72 20 6f 70 65 6e 73 | 20 74 68 65 20 66 69 6c |er opens| the fil|
|00000db0| 65 20 72 65 66 65 72 65 | 64 20 74 6f 20 62 79 20 |e refere|d to by |
|00000dc0| 74 68 65 20 66 69 6c 65 | 20 73 70 65 63 69 66 69 |the file| specifi|
|00000dd0| 63 61 74 69 6f 6e 0d 09 | 72 65 63 6f 72 64 20 61 |cation..|record a|
|00000de0| 6e 64 20 74 68 65 6e 20 | 63 61 6c 6c 73 20 4e 65 |nd then |calls Ne|
|00000df0| 77 49 6e 70 75 74 42 75 | 66 66 65 72 2e 20 2a 2f |wInputBu|ffer. */|
|00000e00| 20 0d 4f 53 45 72 72 20 | 4f 70 65 6e 49 6e 70 75 | .OSErr |OpenInpu|
|00000e10| 74 42 75 66 66 65 72 28 | 46 53 53 70 65 63 20 2a |tBuffer(|FSSpec *|
|00000e20| 73 70 65 63 2c 20 49 6e | 42 75 66 50 74 72 20 2a |spec, In|BufPtr *|
|00000e30| 69 6e 62 75 66 29 3b 0d | 0d 2f 2a 20 49 6e 69 74 |inbuf);.|./* Init|
|00000e40| 49 6e 70 75 74 42 75 66 | 66 65 72 20 69 6e 69 74 |InputBuf|fer init|
|00000e50| 69 61 6c 69 7a 65 73 20 | 74 68 65 20 69 6e 70 75 |ializes |the inpu|
|00000e60| 74 20 62 75 66 66 65 72 | 20 72 65 63 6f 72 64 20 |t buffer| record |
|00000e70| 66 6f 72 20 69 6e 70 75 | 74 20 66 72 6f 6d 20 74 |for inpu|t from t|
|00000e80| 68 65 0d 09 66 69 6c 65 | 20 72 65 66 65 72 65 6e |he..file| referen|
|00000e90| 63 65 64 20 62 79 20 72 | 65 66 6e 75 6d 20 61 74 |ced by r|efnum at|
|00000ea0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 66 69 6c | the cur|rent fil|
|00000eb0| 65 20 70 6f 73 69 74 69 | 6f 6e 2e 20 20 54 68 69 |e positi|on. Thi|
|00000ec0| 73 20 63 61 6c 6c 20 63 | 61 6e 0d 09 62 65 20 75 |s call c|an..be u|
|00000ed0| 73 65 64 20 74 6f 20 69 | 6e 69 74 69 61 6c 69 7a |sed to i|nitializ|
|00000ee0| 65 20 61 6e 20 69 6e 70 | 75 74 20 62 75 66 66 65 |e an inp|ut buffe|
|00000ef0| 72 20 69 66 20 79 6f 75 | 20 61 72 65 20 64 6f 69 |r if you| are doi|
|00000f00| 6e 67 20 79 6f 75 72 20 | 6f 77 6e 20 73 74 6f 72 |ng your |own stor|
|00000f10| 61 67 65 0d 09 6d 61 6e | 61 67 6d 65 6e 74 20 61 |age..man|agment a|
|00000f20| 73 20 69 74 20 6f 6e 6c | 79 20 73 65 74 73 20 75 |s it onl|y sets u|
|00000f30| 70 20 74 68 65 20 66 69 | 65 6c 64 73 20 69 6e 20 |p the fi|elds in |
|00000f40| 74 68 65 20 69 6e 70 75 | 74 20 62 75 66 66 65 72 |the inpu|t buffer|
|00000f50| 20 72 65 63 6f 72 64 20 | 2a 2f 0d 4f 53 45 72 72 | record |*/.OSErr|
|00000f60| 20 49 6e 69 74 49 6e 70 | 75 74 42 75 66 66 65 72 | InitInp|utBuffer|
|00000f70| 28 73 68 6f 72 74 20 72 | 65 66 6e 75 6d 2c 20 49 |(short r|efnum, I|
|00000f80| 6e 42 75 66 50 74 72 20 | 69 62 70 29 3b 0d 0d 2f |nBufPtr |ibp);../|
|00000f90| 2a 20 44 69 73 70 6f 73 | 65 49 6e 70 75 74 42 75 |* Dispos|eInputBu|
|00000fa0| 66 66 65 72 20 64 69 73 | 70 6f 73 65 73 20 6f 66 |ffer dis|poses of|
|00000fb0| 20 74 68 65 20 69 6e 70 | 75 74 20 62 75 66 66 65 | the inp|ut buffe|
|00000fc0| 72 2e 20 20 54 68 69 73 | 20 63 61 6c 6c 20 69 73 |r. This| call is|
|00000fd0| 20 65 71 75 69 76 61 6c | 65 6e 74 20 74 6f 0d 09 | equival|ent to..|
|00000fe0| 63 61 6c 6c 69 6e 67 20 | 44 69 73 70 6f 73 65 50 |calling |DisposeP|
|00000ff0| 74 72 2e 20 2a 2f 0d 76 | 6f 69 64 20 44 69 73 70 |tr. */.v|oid Disp|
|00001000| 6f 73 65 49 6e 70 75 74 | 42 75 66 66 65 72 28 49 |oseInput|Buffer(I|
|00001010| 6e 42 75 66 50 74 72 20 | 69 6e 62 75 66 29 3b 0d |nBufPtr |inbuf);.|
|00001020| 0d 2f 2a 20 43 6c 6f 73 | 65 49 6e 70 75 74 42 75 |./* Clos|eInputBu|
|00001030| 66 66 65 72 20 63 6c 6f | 73 65 73 20 74 68 65 20 |ffer clo|ses the |
|00001040| 66 69 6c 65 20 61 73 73 | 6f 63 69 61 74 65 64 20 |file ass|ociated |
|00001050| 77 69 74 68 20 74 68 65 | 20 69 6e 70 75 74 20 62 |with the| input b|
|00001060| 75 66 66 65 72 20 61 6e | 64 20 74 68 65 6e 0d 09 |uffer an|d then..|
|00001070| 63 61 6c 6c 73 20 44 69 | 73 70 6f 73 65 49 6e 70 |calls Di|sposeInp|
|00001080| 75 74 42 75 66 66 65 72 | 2e 20 2a 2f 0d 76 6f 69 |utBuffer|. */.voi|
|00001090| 64 20 43 6c 6f 73 65 49 | 6e 70 75 74 42 75 66 66 |d CloseI|nputBuff|
|000010a0| 65 72 28 49 6e 42 75 66 | 50 74 72 20 69 6e 62 75 |er(InBuf|Ptr inbu|
|000010b0| 66 29 3b 0d 0d 2f 2a 20 | 46 65 74 63 68 49 6e 70 |f);../* |FetchInp|
|000010c0| 75 74 42 75 66 66 65 72 | 20 72 65 61 64 73 20 63 |utBuffer| reads c|
|000010d0| 6f 75 6e 74 20 62 79 74 | 65 73 20 66 72 6f 6d 20 |ount byt|es from |
|000010e0| 74 68 65 20 69 6e 70 75 | 74 20 62 75 66 66 65 72 |the inpu|t buffer|
|000010f0| 20 69 6e 74 6f 20 74 68 | 65 20 6d 65 6d 6f 72 79 | into th|e memory|
|00001100| 0d 09 6c 6f 63 61 74 69 | 6f 6e 20 72 65 66 65 72 |..locati|on refer|
|00001110| 65 64 20 74 6f 20 62 79 | 20 62 75 66 66 65 72 20 |ed to by| buffer |
|00001120| 2a 2f 0d 4f 53 45 72 72 | 20 46 65 74 63 68 49 6e |*/.OSErr| FetchIn|
|00001130| 70 75 74 42 75 66 66 65 | 72 28 49 6e 42 75 66 50 |putBuffe|r(InBufP|
|00001140| 74 72 20 69 6e 62 75 66 | 2c 20 76 6f 69 64 2a 20 |tr inbuf|, void* |
|00001150| 62 75 66 66 65 72 2c 20 | 6c 6f 6e 67 20 63 6f 75 |buffer, |long cou|
|00001160| 6e 74 29 3b 0d 0d 2f 2a | 20 53 65 74 49 6e 70 75 |nt);../*| SetInpu|
|00001170| 74 42 75 66 66 65 72 50 | 6f 73 20 73 65 74 73 20 |tBufferP|os sets |
|00001180| 74 68 65 20 66 69 6c 65 | 20 70 6f 73 69 74 69 6f |the file| positio|
|00001190| 6e 20 77 68 65 72 65 20 | 46 65 74 63 68 49 6e 70 |n where |FetchInp|
|000011a0| 75 74 42 75 66 66 65 72 | 0d 09 77 69 6c 6c 20 62 |utBuffer|..will b|
|000011b0| 65 67 69 6e 20 72 65 74 | 72 69 65 76 69 6e 67 20 |egin ret|rieving |
|000011c0| 62 79 74 65 73 20 66 72 | 6f 6d 20 6f 6e 20 69 74 |bytes fr|om on it|
|000011d0| 27 73 20 6e 65 78 74 20 | 63 61 6c 6c 20 2a 2f 0d |'s next |call */.|
|000011e0| 4f 53 45 72 72 20 53 65 | 74 49 6e 70 75 74 42 75 |OSErr Se|tInputBu|
|000011f0| 66 66 65 72 50 6f 73 28 | 49 6e 42 75 66 50 74 72 |fferPos(|InBufPtr|
|00001200| 20 69 6e 62 75 66 2c 20 | 6c 6f 6e 67 20 6e 65 77 | inbuf, |long new|
|00001210| 70 6f 73 29 3b 0d 0d 2f | 2a 20 49 6e 70 75 74 42 |pos);../|* InputB|
|00001220| 75 66 66 65 72 46 69 6c | 65 53 69 7a 65 20 72 65 |ufferFil|eSize re|
|00001230| 74 75 72 6e 73 20 74 68 | 65 20 6e 75 6d 62 65 72 |turns th|e number|
|00001240| 20 6f 66 20 62 79 74 65 | 73 20 73 74 6f 72 65 64 | of byte|s stored|
|00001250| 20 69 6e 20 74 68 65 0d | 09 61 73 73 6f 63 69 61 | in the.|.associa|
|00001260| 74 65 64 20 66 69 6c 65 | 2e 20 2a 2f 0d 4f 53 45 |ted file|. */.OSE|
|00001270| 72 72 20 49 6e 70 75 74 | 42 75 66 66 65 72 46 69 |rr Input|BufferFi|
|00001280| 6c 65 53 69 7a 65 28 49 | 6e 42 75 66 50 74 72 20 |leSize(I|nBufPtr |
|00001290| 69 6e 62 75 66 2c 20 6c | 6f 6e 67 20 2a 62 79 74 |inbuf, l|ong *byt|
|000012a0| 65 63 6f 75 6e 74 29 3b | 0d 0d 0d 2f 2a 20 54 72 |ecount);|.../* Tr|
|000012b0| 61 6e 73 66 65 72 42 79 | 74 65 73 20 74 72 61 6e |ansferBy|tes tran|
|000012c0| 73 66 65 72 73 20 63 6f | 75 6e 74 20 62 79 74 65 |sfers co|unt byte|
|000012d0| 73 20 66 72 6f 6d 20 74 | 68 65 20 69 6e 70 75 74 |s from t|he input|
|000012e0| 20 62 75 66 66 65 72 20 | 73 72 63 0d 09 74 6f 20 | buffer |src..to |
|000012f0| 74 68 65 20 6f 75 74 70 | 75 74 20 62 75 66 66 65 |the outp|ut buffe|
|00001300| 72 20 64 73 74 2e 20 2a | 2f 0d 4f 53 45 72 72 20 |r dst. *|/.OSErr |
|00001310| 54 72 61 6e 73 66 65 72 | 42 79 74 65 73 28 49 6e |Transfer|Bytes(In|
|00001320| 42 75 66 50 74 72 20 73 | 72 63 2c 20 4f 75 74 42 |BufPtr s|rc, OutB|
|00001330| 75 66 50 74 72 20 64 73 | 74 2c 20 6c 6f 6e 67 20 |ufPtr ds|t, long |
|00001340| 63 6f 75 6e 74 29 3b 0d | 0d 23 65 6e 64 69 66 0d |count);.|.#endif.|
|00001350| 0d 2f 2a 20 74 69 6d 69 | 6e 67 20 74 65 73 74 73 |./* timi|ng tests|
|00001360| 20 66 6f 72 20 64 69 66 | 66 65 72 65 6e 74 20 62 | for dif|ferent b|
|00001370| 75 66 66 65 72 20 73 69 | 7a 65 73 0d 0d 0d 39 6b |uffer si|zes...9k|
|00001380| 3a 0d 31 34 40 30 30 20 | 3d 20 27 30 31 32 33 34 |:.14@00 |= '01234|
|00001390| 35 36 37 38 39 41 42 43 | 44 27 0d 31 34 40 30 37 |56789ABC|D'.14@07|
|000013a0| 20 3d 20 27 37 38 39 41 | 42 43 44 45 46 47 48 49 | = '789A|BCDEFGHI|
|000013b0| 4a 4b 27 0d 31 33 20 73 | 65 63 6f 6e 64 73 20 74 |JK'.13 s|econds t|
|000013c0| 6f 20 74 72 61 6e 73 66 | 65 72 20 38 30 30 30 30 |o transf|er 80000|
|000013d0| 30 20 62 79 74 65 73 0d | 0d 31 30 6b 3a 0d 31 34 |0 bytes.|.10k:.14|
|000013e0| 40 30 30 20 3d 20 27 30 | 31 32 33 34 35 36 37 38 |@00 = '0|12345678|
|000013f0| 39 41 42 43 44 27 0d 31 | 34 40 30 37 20 3d 20 27 |9ABCD'.1|4@07 = '|
|00001400| 37 38 39 41 42 43 44 45 | 46 47 48 49 4a 4b 27 0d |789ABCDE|FGHIJK'.|
|00001410| 31 32 20 73 65 63 6f 6e | 64 73 20 74 6f 20 74 72 |12 secon|ds to tr|
|00001420| 61 6e 73 66 65 72 20 38 | 30 30 30 30 30 20 62 79 |ansfer 8|00000 by|
|00001430| 74 65 73 0d 0d 31 32 6b | 3a 0d 31 34 40 30 30 20 |tes..12k|:.14@00 |
|00001440| 3d 20 27 30 31 32 33 34 | 35 36 37 38 39 41 42 43 |= '01234|56789ABC|
|00001450| 44 27 0d 31 34 40 30 37 | 20 3d 20 27 37 38 39 41 |D'.14@07| = '789A|
|00001460| 42 43 44 45 46 47 48 49 | 4a 4b 27 0d 31 32 20 73 |BCDEFGHI|JK'.12 s|
|00001470| 65 63 6f 6e 64 73 20 74 | 6f 20 74 72 61 6e 73 66 |econds t|o transf|
|00001480| 65 72 20 38 30 30 30 30 | 30 20 62 79 74 65 73 0d |er 80000|0 bytes.|
|00001490| 0d 31 33 6b 3a 0d 31 34 | 40 30 30 20 3d 20 27 30 |.13k:.14|@00 = '0|
|000014a0| 31 32 33 34 35 36 37 38 | 39 41 42 43 44 27 0d 31 |12345678|9ABCD'.1|
|000014b0| 34 40 30 37 20 3d 20 27 | 37 38 39 41 42 43 44 45 |4@07 = '|789ABCDE|
|000014c0| 46 47 48 49 4a 4b 27 0d | 31 32 20 73 65 63 6f 6e |FGHIJK'.|12 secon|
|000014d0| 64 73 20 74 6f 20 74 72 | 61 6e 73 66 65 72 20 38 |ds to tr|ansfer 8|
|000014e0| 30 30 30 30 30 20 62 79 | 74 65 73 0d 0d 31 34 6b |00000 by|tes..14k|
|000014f0| 3a 0d 31 34 40 30 30 20 | 3d 20 27 30 31 32 33 34 |:.14@00 |= '01234|
|00001500| 35 36 37 38 39 41 42 43 | 44 27 0d 31 34 40 30 37 |56789ABC|D'.14@07|
|00001510| 20 3d 20 27 37 38 39 41 | 42 43 44 45 46 47 48 49 | = '789A|BCDEFGHI|
|00001520| 4a 4b 27 0d 31 32 20 73 | 65 63 6f 6e 64 73 20 74 |JK'.12 s|econds t|
|00001530| 6f 20 74 72 61 6e 73 66 | 65 72 20 38 30 30 30 30 |o transf|er 80000|
|00001540| 30 20 62 79 74 65 73 0d | 0d 31 35 6b 3a 0d 31 34 |0 bytes.|.15k:.14|
|00001550| 40 30 30 20 3d 20 27 30 | 31 32 33 34 35 36 37 38 |@00 = '0|12345678|
|00001560| 39 41 42 43 44 27 0d 31 | 34 40 30 37 20 3d 20 27 |9ABCD'.1|4@07 = '|
|00001570| 37 38 39 41 42 43 44 45 | 46 47 48 49 4a 4b 27 0d |789ABCDE|FGHIJK'.|
|00001580| 31 32 20 73 65 63 6f 6e | 64 73 20 74 6f 20 74 72 |12 secon|ds to tr|
|00001590| 61 6e 73 66 65 72 20 38 | 30 30 30 30 30 20 62 79 |ansfer 8|00000 by|
|000015a0| 74 65 73 0d 0d 31 36 6b | 3a 0d 31 34 40 30 30 20 |tes..16k|:.14@00 |
|000015b0| 3d 20 27 30 31 32 33 34 | 35 36 37 38 39 41 42 43 |= '01234|56789ABC|
|000015c0| 44 27 0d 31 34 40 30 37 | 20 3d 20 27 37 38 39 41 |D'.14@07| = '789A|
|000015d0| 42 43 44 45 46 47 48 49 | 4a 4b 27 0d 31 31 20 73 |BCDEFGHI|JK'.11 s|
|000015e0| 65 63 6f 6e 64 73 20 74 | 6f 20 74 72 61 6e 73 66 |econds t|o transf|
|000015f0| 65 72 20 38 30 30 30 30 | 30 20 62 79 74 65 73 0d |er 80000|0 bytes.|
|00001600| 0d 33 32 6b 3a 0d 31 34 | 40 30 30 20 3d 20 27 30 |.32k:.14|@00 = '0|
|00001610| 31 32 33 34 35 36 37 38 | 39 41 42 43 44 27 0d 31 |12345678|9ABCD'.1|
|00001620| 34 40 30 37 20 3d 20 27 | 37 38 39 41 42 43 44 45 |4@07 = '|789ABCDE|
|00001630| 46 47 48 49 4a 4b 27 0d | 38 20 73 65 63 6f 6e 64 |FGHIJK'.|8 second|
|00001640| 73 20 74 6f 20 74 72 61 | 6e 73 66 65 72 20 38 30 |s to tra|nsfer 80|
|00001650| 30 30 30 30 20 62 79 74 | 65 73 0d 0d 36 34 6b 3a |0000 byt|es..64k:|
|00001660| 0d 31 34 40 30 30 20 3d | 20 27 30 31 32 33 34 35 |.14@00 =| '012345|
|00001670| 36 37 38 39 41 42 43 44 | 27 0d 31 34 40 30 37 20 |6789ABCD|'.14@07 |
|00001680| 3d 20 27 37 38 39 41 42 | 43 44 45 46 47 48 49 4a |= '789AB|CDEFGHIJ|
|00001690| 4b 27 0d 37 20 73 65 63 | 6f 6e 64 73 20 74 6f 20 |K'.7 sec|onds to |
|000016a0| 74 72 61 6e 73 66 65 72 | 20 38 30 30 30 30 30 20 |transfer| 800000 |
|000016b0| 62 79 74 65 73 0d 0d 35 | 31 32 62 3a 0d 31 34 40 |bytes..5|12b:.14@|
|000016c0| 30 30 20 3d 20 27 30 31 | 32 33 34 35 36 37 38 39 |00 = '01|23456789|
|000016d0| 41 42 43 44 27 0d 31 34 | 40 30 37 20 3d 20 27 37 |ABCD'.14|@07 = '7|
|000016e0| 38 39 41 42 43 44 45 46 | 47 48 49 4a 4b 27 0d 32 |89ABCDEF|GHIJK'.2|
|000016f0| 33 20 73 65 63 6f 6e 64 | 73 20 74 6f 20 74 72 61 |3 second|s to tra|
|00001700| 6e 73 66 65 72 20 38 30 | 30 30 30 30 20 62 79 74 |nsfer 80|0000 byt|
|00001710| 65 73 0d 0d 31 6b 3a 0d | 31 34 40 30 30 20 3d 20 |es..1k:.|14@00 = |
|00001720| 27 30 31 32 33 34 35 36 | 37 38 39 41 42 43 44 27 |'0123456|789ABCD'|
|00001730| 0d 31 34 40 30 37 20 3d | 20 27 37 38 39 41 42 43 |.14@07 =| '789ABC|
|00001740| 44 45 46 47 48 49 4a 4b | 27 0d 31 37 20 73 65 63 |DEFGHIJK|'.17 sec|
|00001750| 6f 6e 64 73 20 74 6f 20 | 74 72 61 6e 73 66 65 72 |onds to |transfer|
|00001760| 20 38 30 30 30 30 30 20 | 62 79 74 65 73 0d 0d 32 | 800000 |bytes..2|
|00001770| 6b 3a 0d 31 34 40 30 30 | 20 3d 20 27 30 31 32 33 |k:.14@00| = '0123|
|00001780| 34 35 36 37 38 39 41 42 | 43 44 27 0d 31 34 40 30 |456789AB|CD'.14@0|
|00001790| 37 20 3d 20 27 37 38 39 | 41 42 43 44 45 46 47 48 |7 = '789|ABCDEFGH|
|000017a0| 49 4a 4b 27 0d 31 33 20 | 73 65 63 6f 6e 64 73 20 |IJK'.13 |seconds |
|000017b0| 74 6f 20 74 72 61 6e 73 | 66 65 72 20 38 30 30 30 |to trans|fer 8000|
|000017c0| 30 30 20 62 79 74 65 73 | 0d 0d 38 6b 3a 0d 31 34 |00 bytes|..8k:.14|
|000017d0| 40 30 30 20 3d 20 27 30 | 31 32 33 34 35 36 37 38 |@00 = '0|12345678|
|000017e0| 39 41 42 43 44 27 0d 31 | 34 40 30 37 20 3d 20 27 |9ABCD'.1|4@07 = '|
|000017f0| 37 38 39 41 42 43 44 45 | 46 47 48 49 4a 4b 27 0d |789ABCDE|FGHIJK'.|
|00001800| 31 33 20 73 65 63 6f 6e | 64 73 20 74 6f 20 74 72 |13 secon|ds to tr|
|00001810| 61 6e 73 66 65 72 20 38 | 30 30 30 30 30 20 62 79 |ansfer 8|00000 by|
|00001820| 74 65 73 0d 0d 34 6b 3a | 0d 31 34 40 30 30 20 3d |tes..4k:|.14@00 =|
|00001830| 20 27 30 31 32 33 34 35 | 36 37 38 39 41 42 43 44 | '012345|6789ABCD|
|00001840| 27 0d 31 34 40 30 37 20 | 3d 20 27 37 38 39 41 42 |'.14@07 |= '789AB|
|00001850| 43 44 45 46 47 48 49 4a | 4b 27 0d 31 33 20 73 65 |CDEFGHIJ|K'.13 se|
|00001860| 63 6f 6e 64 73 20 74 6f | 20 74 72 61 6e 73 66 65 |conds to| transfe|
|00001870| 72 20 38 30 30 30 30 30 | 20 62 79 74 65 73 0d 0d |r 800000| bytes..|
|00001880| 2a 2f 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |*/......|........|
|00001890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001900| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00001910| 00 01 43 6f 6d 6d 61 6e | 64 00 00 02 53 68 69 66 |..Comman|d...Shif|
|00001920| 74 00 00 08 4f 70 74 69 | 6f 6e 00 00 10 43 6f 6e |t...Opti|on...Con|
|00001930| 0b 53 74 64 42 75 66 66 | 65 72 2e 68 02 00 00 00 |.StdBuff|er.h....|
|00001940| 54 45 58 54 4d 50 53 20 | 01 00 ff ff ff ff 00 00 |TEXTMPS |........|
|00001950| 00 00 54 45 58 54 4d 50 | 53 20 01 00 ff ff ff ff |..TEXTMP|S ......|
|00001960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001970| 1b 53 ad cd e3 ec 00 00 | 18 03 00 00 01 ac 00 00 |.S......|........|
|00001980| 18 3d 00 00 21 5b 00 00 | 2a 5c 00 00 24 52 65 74 |.=..![..|*\..$Ret|
|00001990| 75 72 6e 00 00 1e 5d 00 | 00 32 60 00 00 00 61 00 |urn...].|.2`...a.|
|000019a0| 00 0b 62 00 00 08 63 00 | 00 47 43 6c 65 61 72 00 |..b...c.|.GClear.|
|000019b0| 00 78 46 32 00 00 02 64 | 00 00 75 44 65 6c 00 00 |.xF2...d|..uDel..|
|000019c0| 33 44 65 6c 65 74 65 00 | 00 7d 44 6f 77 6e 61 72 |3Delete.|.}Downar|
|000019d0| 72 6f 77 00 00 0e 65 00 | 00 77 45 6e 64 00 00 4c |row...e.|.wEnd..L|
|000019e0| 45 6e 74 65 72 00 00 35 | 45 73 63 61 70 65 00 00 |Enter..5|Escape..|
|000019f0| 03 66 00 00 6d 46 31 30 | 00 00 67 46 31 31 00 00 |.f..mF10|..gF11..|
|00001a00| 00 00 00 48 00 09 47 65 | 6e 65 76 61 00 0d 0d 23 |...H..Ge|neva...#|
|00001a10| 03 df 91 e0 75 64 65 20 | 3c 54 79 70 65 73 2e 68 |....ude |<Types.h|
|00001a20| 3e 0d 0d 23 64 65 00 03 | 00 08 00 50 00 20 02 6d |>..#de..|...P. .m|
|00001a30| 02 ed 00 50 00 20 02 6d | 02 ed b0 5f 56 0c 00 00 |...P. .m|..._V...|
|00001a40| 02 74 00 00 02 74 00 00 | 00 00 01 00 00 00 00 1e |.t...t..|........|
|00001a50| 00 50 00 20 02 6d 02 ed | 00 50 00 20 02 6d 02 ed |.P. .m..|.P. .m..|
|00001a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a70| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 03 d6 |.....n..|.n...>..|
|00001a80| 71 38 26 32 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |q8&2....|.>..MPSR|
|00001a90| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00001aa0| 03 f0 ff ff 00 00 00 4c | 03 d7 c9 a8 00 00 00 00 |.......L|........|
|00001ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+